import {configureStore} from "@reduxjs/toolkit";
import playerReducer from './modules/player/reducer'
import recommendReducer from './modules/recommend/index'
import navReducer from './modules/nav/index'


const store  = configureStore({
  reducer: {

    player: playerReducer,
    recommend: recommendReducer,
    nav: navReducer
  }
})
    
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
export default  store